package com.qf.pojo;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/9/24 9:40
 */
public class Passenger {
    private int pId;
    private String pName;
    private String pAge;

    public Passenger() {
    }

    public Passenger(int pId, String pName, String pAge) {
        this.pId = pId;
        this.pName = pName;
        this.pAge = pAge;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpAge() {
        return pAge;
    }

    public void setpAge(String pAge) {
        this.pAge = pAge;
    }

    @Override
    public String toString() {
        return "Passenger{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pAge='" + pAge + '\'' +
                '}';
    }
}
